/* 打包失败弹框遮罩层 */
.pack-failure-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(3px);
}

/* 打包失败弹框主体 */
.pack-failure-modal-content {
  position: relative;
  width: 350px;
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: packFailureModalAppear 0.3s ease-out;
}

/* 弹框出现动画 */
@keyframes packFailureModalAppear {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* 关闭按钮 */
.pack-failure-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.2s ease;
}

.pack-failure-close-btn:hover {
  transform: scale(1.1);
}

.pack-failure-close-btn:active {
  transform: scale(0.95);
}

/* 弹框内容区域 */
.pack-failure-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px 20px;
  width: 100%;
  height: 100%;
  justify-content: center;
}

/* 标题样式 */
.pack-failure-title {
  font-size: 30px;
  font-weight: bold;
  color: #D75839;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
}

/* 标题图标样式 */
.pack-failure-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  color: #D75839;
}

/* 提示消息样式 */
.pack-failure-message {
  font-size: 16px;
  color: #000;
  line-height: 1.5;
  margin-bottom: 25px;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

  .font-color{
    color: #D75839;
    font-weight: bold;
  }

/* 确认按钮样式 */
.pack-failure-confirm-btn {
  background-image: url('../../assets/icon/dbxl.png');
  background-size: 100% 100%;
  color: white;
  border: none;
  width: 150px;
  height: 40px;
  line-height: 40px;
  border-radius: 25px;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
  position: absolute;
  bottom: -15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .pack-failure-modal-content {
    width: 300px;
    height: 220px;
  }

  .pack-failure-title {
    font-size: 30px;
  }

  .pack-failure-message {
    font-size: 14px;
  }


  .pack-failure-confirm-btn {
    padding: 10px 25px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .pack-failure-modal-content {
    width: 280px;
    height: 170px;
  }

  .pack-failure-title {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .pack-failure-message {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .pack-failure-confirm-btn {
    padding: 8px 20px;
    font-size: 13px;
  }
}